<HTML><HEAD>
<TITLE>Alberto Ravell</TITLE>
<BODY text=#000000 vLink=#ff0000 aLink=#ff0000 link=#000000 bgColor=#ffffff 
topMargin=0 marginheight="0">
<style type="text/css">
<!--
.Estilo3 {
	font-size: 12px;
	color: #FF0000;
}
.Estilo4 {
	color: #990000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 2;
	font-weight: bold;
}
.Estilo5 {
	color: #000000;
	font-size: 14px;
}
.Estilo6 {color: #FF0000}
.Estilo7 {color: #FF0000; font-weight: bold; }
-->
</style>
<script language="javascript">

function enviar(){
	document.miFormu.action = "mostrarNoticia2.php"
	document.miFormu.submit();	
}
function validar(){
	var msj = "false";
	if (document.miFormu.nick.value == ""){
		document.miFormu.nick.style.backgroundColor = "yellow";
		msj="true";		
	}	
	if (document.miFormu.comentario.value == ""){
		document.miFormu.comentario.style.backgroundColor = "yellow";
		msj="true";		
	}
	if(msj == "false"){      
		document.miFormu.submit();
	}else{
		alert("Debe ingresar los datos solicitados en los campos resaltados");	
	}
}
</script>
<TABLE height="78%" cellSpacing=3 cellPadding=0 width=549 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=543 bgColor=#ff0000 height=349>
      <TABLE height=349 cellSpacing=1 width=541 align=center border=0>
        <TBODY>
        <TR>
          <TD vAlign=top bgColor=#ffffff height="347" width="537">  <DIV align=center>              <BR>             		
            <TABLE height=267 cellSpacing=5 width=437 align=center bgColor=#ffffff border=0>
              <TBODY>			  
              <TR>			  
                <TD width=425 bgColor=#ffffff height=257><div id="muestra">
                  <p align="left">
<?php
	$id=$_POST["id"];
	?>
	<CENTER> 
			 <DIV align=center class="Estilo4">
              <p class="Estilo5">Enviar Comentario</p>
              <p class="Estilo5">&nbsp;</p>
              <p class="Estilo5 Estilo6">_________________________________________________</p>
            </DIV>
	</CENTER> 
			<form name="miFormu" action="nuevoComentario.php" method="post"> 
			<INPUT TYPE="hidden" NAME="id" VALUE="<?php echo "$id"; ?>">
			<table width="323">
              <tr>
                <td width="89"><span class="Estilo6">*</span>Nick :</td>
                <td width="222"><INPUT TYPE="text" NAME="nick" SIZE=34 MAXLENGTH=20></td>
              </tr>
              <tr>
                <td><span class="Estilo6">*</span>Comentario:</td>
                <td><textarea name="comentario" cols="30" rows="3"></textarea></td>
              </tr>
              <tr>
                <td colspan="2"><div align="center">
                  <input name="enviar" type="button" class="boton" value="  Enviar  " onClick="validar();">
				  <input type="button" name="cancelar" class="boton" value="Cancelar" onClick="enviar();">
                </div></td>
                </tr>
            </table> 
			</form>
			</TD>
              </TR>
			  </TBODY></TABLE>
            <p>&nbsp;</p>
        </DIV></TD></TR></TBODY></TABLE></TD>
</TR></TBODY></TABLE>
<p align="center" style="margin-top: 7; margin-bottom: 0">

</BODY></HTML>